package com.wali.modules.common.service;

import com.wali.modules.common.dao.IComStoreDao;
import com.wali.modules.common.vo.ComStoreVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author walixu
 * @ClassName com.wali.modules.common.service
 * @Description 仓库信息service类
 * @email wali.xu@kpmg.com
 * @date 24/01/2019 7:40 下午
 */
@Service
public class ComStoreService {

    @Autowired
    private IComStoreDao iComStoreDao;

    /**
     * @param
     * @return
     * @throws
     * @Title listAllComStore
     * @Description 查询符合条件的仓库信息
     */
    public List<ComStoreVO> listComStore(int storeId) {
        ComStoreVO comStore = new ComStoreVO();
        comStore.setId(storeId);
        return iComStoreDao.listComStore(comStore);
    }
}
